// 首页
@import '../../publicstyle/publicstyle.scss';

page {
  background-image: url('https://qmtestimage.oss-cn-guangzhou.aliyuncs.com/home-bj.png');
}

.canvas {

  width: 500rpx;
  height: 300rpx;
  position: absolute;
  left: 100rpx;
  top: 700rpx;

}

.staricon {
  width: 700rpx;
  height: 900rpx;

  image {
    width: 500rpx;
  }
}

.wx-swiper-dots {
  position: relative;
  /* unset复原重置属性值 */
  left: unset !important;
  right: 20rpx;
  top: 320rpx;
}

.wx-swiper-dots .wx-swiper-dots-horizontal {
  margin-bottom: 0rpx;
}

.indexmain {
  // overflow: auto;
  padding-bottom: 100rpx;

  .videoicon {
    width: 144rpx;
    height: 160rpx;
    position: fixed;
    top: 60%;
    right: 0;
    z-index: 999;

    .videoimg {
      width: 144rpx;
      height: 160rpx;
      position: absolute;
    }

    .word {
      width: 109rpx;
      height: 25rpx;
      position: absolute;
      bottom: 10rpx;
      left: 14rpx;
      animation: breath 2s ease-in-out infinite;
    }

  }

  @keyframes breath {
    0% {
      opacity: 1;
    }

    50% {
      opacity: 1;
      transform: scale(1.2);
    }

    100% {
      opacity: 1;
    }
  }

  .tabicon {
    margin-top: 100rpx;

    image {
      width: 384rpx;
      height: 60rpx;
    }
  }



  //swiper
  .banner_container {
    width: 750rpx;
    height: 390rpx;
    margin: 0 auto;
    margin-top: 27rpx;


    .swiperbox {
      margin: 0 auto;
      width: 702rpx;
      height: 348rpx;

    }

    image {
      border-radius: 20rpx;
      width: 702rpx;
      height: 348rpx;
    }
  }

  //userinfo
  .user_container {
    width: 703rpx;
    height: 304rpx;
    background: url('https://qmtestimage.oss-cn-guangzhou.aliyuncs.com/mokuaier-di.png') no-repeat;
    background-size: cover;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 15rpx 15rpx 24rpx rgba($color: #B84FDA, $alpha: 0.3);
    border-radius: 20rpx;


    .userinfo {
      width: 662rpx;
      height: 120rpx;
      background: url('https://qmtestimage.oss-cn-guangzhou.aliyuncs.com/mokuai-wo-bj.png') no-repeat;
      background-size: cover;
      margin: 0 auto;
      margin-top: 22rpx;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .loginbtn {
        margin: 0 auto;

        image {
          width: 115rpx;
          height: 97rpx;
        }
      }

      .user {
        display: flex;
        margin-left: 24rpx;
        align-items: center;

        .userimg {
          width: 90rpx;
          height: 90rpx;
          border-radius: 50%;
          border: 3px solid #5E52D1;
          margin-right: 20rpx;
        }

        .nickname {
          width: 210rpx;

          :nth-child(1) {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 31rpx;
            color: #FFFFFF;
            text-shadow: 0px 2px 0px rgba(118, 35, 166, 0.31);
          }

          :nth-child(2) {
            font-size: 20rpx;
            color: #5247BE;
          }
        }
      }

      .point {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 247rpx;
        height: 67rpx;
        background: linear-gradient(0deg, #C464F8, #884EDB);
        border: 2rpx solid #D3B2F4;
        box-shadow: 0px 3px 0px 2px rgba(134, 0, 190, 0.2);
        border-radius: 40rpx;
        margin-right: 32rpx;

        :nth-child(1) {
          width: 47rpx;
          height: 52rpx;
          display: block;
          margin-top: 2rpx;
        }

        :nth-child(2) {
          font-family: "alifontheavy";
          font-size: 42rpx;
          color: #FFFFFF;
          font-weight: bolder;
          text-shadow: -1px 0 #A92BB5, 0 3px #A92BB5, 3px 0 #A92BB5, 0 -1px #A92BB5;
        }

        :nth-child(3) {
          width: 44rpx;
          height: 24rpx;
          background: #FFFFFF;
          background: url('https://qmtestimage.oss-cn-guangzhou.aliyuncs.com/%E7%A7%AF%E5%88%86%20-wenzi.png') no-repeat;
          background-size: cover;
          margin-top: 15rpx;
        }
      }
    }

    .btn_container {
      position: relative;
      width: 686rpx;
      display: flex;
      margin: 0 auto;
      margin-top: 14rpx;

      .btnleft {
        image {
          position: absolute;
          left: 12rpx;
          width: 340rpx;
          height: 123rpx;
        }
      }

      .btnright {
        image {
          width: 340rpx;
          height: 123rpx;
          margin-left: 338rpx;
        }
      }
    }
  }


  //pointshop
  .point_container {
    margin-top: 20rpx;
    padding-bottom: 200rpx;

    .pointtitle {
      width: 299rpx;
      height: 103rpx;

      image {
        width: 299rpx;
        height: 103rpx;
        margin-top: 11rpx;
      }
    }

    .prolist {
      display: grid;
      grid-template-columns: 333rpx 333rpx;
      width: 703rpx;
      margin: 0 auto;
      margin-top: 25rpx;
      grid-column-gap: 34rpx;
      grid-row-gap: 100rpx;

      .proitem {
        width: 333rpx;
        height: 402rpx;
        background: url('https://duomeinongchang.oss-cn-beijing.aliyuncs.com/manghetest/zise-biankuang.png') no-repeat;
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;

        .prodetail {
          width: 316rpx;
          height: 384rpx;
          background: #ffffff;
          border-radius: 10rpx;

          .proname {
            font-size: 24rpx;
            color: #7E259F;
            font-weight: 700;
            padding: 2rpx 10rpx 0 10rpx;
            font-family: 'alifontheavy';
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
          }

          .proimg {
            width: 100%;
            margin-top: 10rpx;

            image {
              display: block;
              margin: 0 auto;
              width: 298rpx;
              height: 300rpx;
            }

          }
        }


        .changebtn {
          width: 225rpx;
          height: 107rpx;
          background: url('https://qmtestimage.oss-cn-guangzhou.aliyuncs.com/jifen-btn-zise.png') no-repeat;
          background-size: cover;
          margin: 0 auto;
          margin-top: -18rpx;
          z-index: 999;
          padding: 0 10rpx;


          .btnword {
            display: flex;
            align-items: center;
            justify-content: space-evenly;
            padding-top: 10rpx;

            :nth-child(1) {
              width: 47rpx;
              height: 52rpx;
              display: block;
              margin-top: 2rpx;
            }

            :nth-child(2) {
              font-family: 'alifontheavy';
              font-size: 42rpx;
              color: #FFFFFF;
              font-weight: bolder;
              text-shadow: -1px 0 #A92BB5, 0 3px #A92BB5, 3px 0 #A92BB5, 0 -1px #A92BB5;
            }

            :nth-child(3) {
              width: 44rpx;
              height: 24rpx;
              background: #FFFFFF;
              background: url('https://qmtestimage.oss-cn-guangzhou.aliyuncs.com/%E7%A7%AF%E5%88%86%20-wenzi.png') no-repeat;
              background-size: cover;
              margin-top: 15rpx;
            }
          }

        }
      }
    }
  }

}